#include "UIControl.h"

UIControl::UIControl(UIControl* p_pParent) : m_pParent(p_pParent)
{
	
}

UIControl::~UIControl(void)
{
}

void UIControl::onFocus()
{
	m_hasFocus = true;
}

void UIControl::onLostFocus()
{
	m_hasFocus = false;
}

void UIControl::onMouseEnter(MouseEvent* p_event)
{

}

UIControl* UIControl::getParent()
{
	return m_pParent;
}

LPSTR UIControl::getType()
{
	return TEXT("UIControl");
}